﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;

namespace ProjectNocturnalFool
{
    internal class IconLoader
    {
        public static Texture2D loadRaceIcon(CharacterRace raceEnum)
        {
            switch (raceEnum)
            {
                case CharacterRace.DustMan:
                    return TacticsGame.Instance.Content.Load<Texture2D>(Constants.TexturePortraitDust);
                case CharacterRace.PharoMan:
                    return TacticsGame.Instance.Content.Load<Texture2D>(Constants.TexturePortraitPharo);
                default:
                    return TacticsGame.Instance.Content.Load<Texture2D>(Constants.TexturePortraitDust);
            }


        }


    }
}
